import request from "../utils/request";

export const createImage = (data)=>{
    return request({
        method: 'POST',
        url:'/submit/imagine',
        data
    })
}

export const simpleChange = (data)=>{
    return request({
        method: 'POST',
        url:'/submit/simpleChange',
        data
    })
}

export const change = (data)=>{
    return request({
        method: 'POST',
        url:'/submit/change',
        data
    })
}

export const describe = (data)=>{
    return request({
        method: 'POST',
        url:'/submit/describe',
        data
    })
}

//blend 

export const blend = (data)=>{
    return request({
        method: 'POST',
        url:'/submit/blend',
        data
    })
}


export const findTask = (taskId)=>{
    return request({
        method: 'GET',
        url:`/task/${taskId}/fetch`
    })
}
